/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Vm.Model
{

    /// <summary>
    ///  实例模板磁盘配置。
    /// </summary>
    public class InstanceTemplateDisk
    {

        ///<summary>
        /// 云硬盘类型。取值范围：&#x60;ssd、premium-hdd、hdd.std1、ssd.gp1、ssd.io1&#x60;。
        ///</summary>
        public string DiskType{ get; set; }
        ///<summary>
        /// 云硬盘大小。单位为 GiB。
        /// &#x60;ssd&#x60;：取值范围[20,1000]GB，步长为10GB。
        /// &#x60;premium-hdd&#x60;：取值范围[20,3000]GB，步长为10GB。
        /// &#x60;hdd.std1、ssd.gp1、ssd.io1&#x60;：取值范围[20-16000]GB，步长为10GB。
        /// 
        ///</summary>
        public int? DiskSizeGB{ get; set; }
        ///<summary>
        /// 创建云硬盘的快照ID。
        ///</summary>
        public string SnapshotId{ get; set; }
        ///<summary>
        /// 云盘快照策略ID。
        ///</summary>
        public string PolicyId{ get; set; }
        ///<summary>
        /// 是否是加密云盘。&#x60;false&#x60;：（默认）不加密。&#x60;true&#x60;：加密。
        ///</summary>
        public bool Encrypt{ get; set; }
        ///<summary>
        /// 云硬盘的最大iops。
        ///</summary>
        public int? Iops{ get; set; }
    }
}
